__author__ = 'Robin'
#coding=utf-8
from datiandouweb.properties.Properties import Properties
def process_response(request):
    message_var=dict({})
    metaaccept= str(request.META.get('HTTP_ACCEPT_LANGUAGE')).split(",")[0].lower()
    print("HTTP_ACCEPT_LANGUAGE:"+metaaccept)
    message_var.setdefault('i18nmessage',Properties.getLanguageDict(metaaccept))
    return message_var






